home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group92c.txt / 000045_icon-group-sender _Wed Oct 28 12:39:22 1992.msg < prev    next >
Internet Message Format  |  1993-01-04  |  3KB

  1. Received: by cheltenham.cs.arizona.edu; Fri, 30 Oct 1992 10:29:13 MST
  2. Date: 28 Oct 92 12:39:22 GMT
  3. From: mcsun!Germany.EU.net!sbsvax!coli-gate.coli.uni-sb.de!coli-gate.coli.uni-sb.de!spackman@uunet.uu.net  (Stephen Spackman)
  4. Organization: DFKI Saarbruecken GmbH, D-W 6600 Saarbruecken
  5. Subject: Re: confusing errors
  6. Message-Id: <SPACKMAN.92Oct28134152@disco-sol.dfki.uni-sb.de>
  7. References: <SPACKMAN.92Oct15130722@disco-sol.dfki.uni-sb.de>
  8. Sender: icon-group-request@cs.arizona.edu
  9. To: icon-group@cs.arizona.edu
  10. Status: R
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12.  
  13. In article <1992Oct23.183537.6160@midway.uchicago.edu> goer@ellis.uchicago.edu (Richard L. Goerwitz) writes:
  14.  
  15. |If you like regularity, just use LISP.  It is very easy to read and write
  16. |automatically, and its syntax is trivial.  In fact, Icon is very easy to
  17. |tokenize with automatic semicolon insertion, and I've never had any prob-
  18. |lems reading or writing it.  Not as regular as LISP, but then LISP code
  19. |is really not all that readable unless formatted with great skill (and a
  20. |smart editor).  Syntactic regularity != usability.
  21.  
  22. But syntactic IRregularity != usability, either; in fact it definitely
  23. degrades it. Just because one abysmal language (Lisp) has it but is
  24. still terrible, doesn't mean that we should abandon it as a goal! In
  25. fact, Lisp derives perhaps most of the few advantages it has from this
  26. regularity, as language designers would do well to note. It's the
  27. *particular choice* of regular syntax that is the problem.
  28.  
  29. Now a language like Icon just doesn't commit to any easily explainable
  30. syntax - perhaps avoiding criticisms about its design, but only by the
  31. smokescreen method! [note to the audience: goer and I know each other
  32. reasonably well. Feel free to take this comment with a pinch of
  33. rhetorical salt.]
  34.  
  35. |Maybe you are just baiting me, but the semicolon is not an operator with
  36. |abstract semantics. It has semantics only in the sense that it directs the
  37. |syntactic analyzer to map the concrete syntax to the abstract syntax in a
  38. |certain way.
  39.  
  40. ???? It's probably hopeless to direct you to the revised report on algol
  41. 68 [this isn't a random insult, if you've seen the document you'll know
  42. exactly what I mean - it isn't exactly very readable], but if it doesn't
  43. have semantics somewthing is BADLY wrong with this language. It doesn't
  44. mean, "first do this, then do that"? Sounds like a pretty basic
  45. operation to me, and NOT one I'd like left implicit, since it involves
  46. the discarding of a result from its left argument, something that in
  47. many programming styles is probably an error unless explicitly declared
  48. otherwise.
  49.  
  50. Tell me, can you characterise for me the circumstances under which a
  51. newline will NOT be interpreted as a go-on operator? When IS it safe to
  52. break an expression?
  53.  
  54. And, really,  WHY would I ever want "throw away what I just did" to be
  55. the DEFAULT operation?
  56. ------------------------------------------------------------------------
  57. stephen p spackman                                       stephen@acm.org
  58. ------------------------------------------------------------------------
  59.